package com.zr.gdms.serviceimpl;

import java.util.List;

import com.zr.gdms.dao.TeacherInfoDao;
import com.zr.gdms.daoimpl.TeacherInfoDaoImpl;
import com.zr.gdms.model.Teacher;
import com.zr.gdms.service.TeacherInfoService;
/**
 * 构建信息管理方法的实现
 * @author xiaRenAn
 *
 */
public class TeacherInfoServiceImpl implements TeacherInfoService {
	TeacherInfoDao tdao = new TeacherInfoDaoImpl();
	@Override
	public List<Teacher> allTeacherinfoByUid(int uid) {
		// TODO Auto-generated method stub
		return tdao.allTeacherinfoByUid(uid);
	}

	@Override
	public boolean updateTeacherInfo(int tid, String tname, String tdepart, String tprofe, int tage, String tsex,
			String ttel) {
		// TODO Auto-generated method stub
		return tdao.updateTeacherInfo(tid, tname, tdepart, tprofe, tage, tsex, ttel);
	}

}
